home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
dev
/
misc
/
gms_e.lha
/
GMSDev
/
EModules
/
graphics
/
pictures.e
< prev
next >
Wrap
Text File
|
1997-09-15
|
2KB
|
61 lines
/*
** $VER: pictures.e V0.8B
**
** Picture Object Definitions.
**
** (C) Copyright 1996-1997 DreamWorld Productions.
** All Rights Reserved
*/
OPT MODULE
OPT EXPORT
OPT PREPROCESS
MODULE 'gms/dpkernel','system/register'
->***************************************************************************
->* The picture structure for loading and depacking of pictures.
CONST PICVERSION = 1,
TAGS_PICTURE = $FFFB0000 OR ID_PICTURE
OBJECT picture
head[1] :ARRAY OF head
data :LONG -> Source.
width :INT -> Picture width
bytewidth :INT -> Picture byte width
height :INT -> Picture height
planes :INT -> Amount of planes
amtcolours :LONG -> Amount of colours.
palette :LONG -> Pointer to Palette.
scrmode :INT -> Intended screen mode for picture.
scrtype :INT -> Interleaved/Chunky/Planar
options :LONG -> GETPALETTE/VIDEOMEM/REMAP...
file :LONG -> Where this picture comes from.
scrwidth :INT -> Screen Width (pixels)
scrheight :INT -> Screen Height (pixels)
ENDOBJECT
CONST PCA_DATA = TAPTR OR 12,
PCA_WIDTH = TWORD OR 16,
PCA_BYTEWIDTH = TWORD OR 18,
PCA_HEIGHT = TWORD OR 20,
PCA_PLANES = TWORD OR 22,
PCA_AMTCOLOURS = TLONG OR 24,
PCA_PALETTE = TAPTR OR 28,
PCA_SCRMODE = TWORD OR 32,
PCA_SCRTYPE = TWORD OR 34,
PCA_OPTIONS = TLONG OR 36,
PCA_FILE = TAPTR OR 40,
PCA_SCRWIDTH = TWORD OR 44,
PCA_SCRHEIGHT = TWORD OR 46
CONST GETPALETTE = $00000001,
VIDEOMEM = $00000002,
REMAP = $00000004,
RESIZEX = $00000010,
BLITMEM = $00000020,
RESIZEY = $00000040,
RESIZE = $00000050